/* eslint-disable */

import React from 'react';
import { Svg, Path } from 'react-native-svg';
import { getIconColor } from './helper';

export const IconcloseB = ({ size, color, ...rest }) => {
  return (
    <Svg viewBox="0 0 1024 1024" width={size} height={size} {...rest}>
      <Path
        d="M512 0a512 512 0 1 0 512 512 512 512 0 0 0-512-512z m203.52 352.64L556.8 512l156.8 156.8a32 32 0 0 1 0 42.88 32 32 0 0 1-43.52 0L512 557.44l-158.08 157.44a31.36 31.36 0 0 1-44.8-44.8L465.92 512 308.48 354.56a32 32 0 0 1 0-45.44 30.72 30.72 0 0 1 44.8 0L512 466.56l158.72-158.08a32 32 0 0 1 45.44 0 32 32 0 0 1 0 44.8z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </Svg>
  );
};

IconcloseB.defaultProps = {
  size: 18,
};

export default IconcloseB;
